package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.orc.OCRVehicleLicenseV1Card;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : OcrVehicleLicenseResponse
 * @Description : 动车行驶证
 * @Author : dbin0123
 * @Date: 2020年4月13日10:16:44
 */
public class OCRVehicleLicenseV1Response extends ApiResponse {
    private static final long serialVersionUID = -1892771641796637623L;

    /**
     * 被检测的图片在系统中的标识
     */
    @ApiField("image_id")
    private String imageId;

    /**
     * 检测出证件的数组
     * 注：如果没有检测出证件则为空数组
     */
    @ApiListField("cards")
    private List<OCRVehicleLicenseV1Card> cards;

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public List<OCRVehicleLicenseV1Card> getCards() {
        return cards;
    }

    public void setCards(List<OCRVehicleLicenseV1Card> cards) {
        this.cards = cards;
    }
}
